package com.sfy.designdemo.policyandfactory.service.Impl;


import com.sfy.designdemo.policyandfactory.dto.OrderDTO;
import com.sfy.designdemo.policyandfactory.dto.PayResult;
import com.sfy.designdemo.policyandfactory.service.IPayment;
import org.springframework.stereotype.Service;

/**
 * Created by SiFeiYang on Date 2022/4/6
 */
@Service("UnionPay")
public class UnionPay implements IPayment {
    @Override
    public PayResult pay(OrderDTO orderDTO) {
        return new PayResult("云闪付支付成功");
    }
}
